<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<input type='hidden' id="module_ids" name='module_ids' />
<input type='hidden' id="module_names" name='module_names' />
<input type="hidden" name="ord_id" id="ord_id" value="${sessionScope._CURRENT_USER.org_id}">
<input type="hidden" name="company_org_id" id="company_org_id" value="${sessionScope._CURRENT_USER.company_org_id}">

<!-- 角色-新增  -->
<div class="form-group notnull">
	<div class="form-label w36">角色名称：</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="name" name="name" data-options="novalidate:'true',required:true,missingMessage:'角色名称不能为空'" /></input>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">系统内置：</div>
	<div class="form-editor w64">
		<input class="easyui-radiobox" name="is_internal" data-options="label:'否'" value="N" checked>
		<input class="easyui-radiobox" name="is_internal" data-options="label:'是'" value="Y">
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">角色类型：</div>
	<div class="form-editor w64">
		<select class = "easyui-combobox" id="type" name="type"data-options="novalidate:'true',required:true,missingMessage:'角色类型不能为空'" >
			<c:forEach items="${typeList}" var="tp">
				<option value="${tp.column_value }">${tp.column_content }</option>
			</c:forEach>
		</select>
	</div>
</div>
<div class="form-group-two" style="height:320px;width:450px;">
	<div class="form-label w36">选择模块:</div>
	<div class="form-editor w64 " style=" padding-top:5px;overflow: auto; ">
		<ul id="moduleTree" class="easyui-tree" >
		</ul>
	</div>
</div>
